local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1
L0_1 = {}
L0_1.group_id = 240050006
L1_1 = {}
L2_1 = {}
L2_1.config_id = 6001
L2_1.monster_id = 23010301
L3_1 = {}
L3_1.x = 64.414
L3_1.y = 76.948
L3_1.z = -82.707
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 21.166
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.title_id = 155
L2_1.special_name_id = 10093
L3_1 = {}
L3_1.config_id = 6021
L3_1.monster_id = 25080301
L4_1 = {}
L4_1.x = 70.316
L4_1.y = 76.956
L4_1.z = -73.743
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 212.356
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 1
L4_1 = {}
L4_1.config_id = 6022
L4_1.monster_id = 25080201
L5_1 = {}
L5_1.x = 70.209
L5_1.y = 76.94
L5_1.z = -89.43
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 319.836
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 1
L5_1 = {}
L5_1.config_id = 6029
L5_1.monster_id = 23020101
L6_1 = {}
L6_1.x = 65.185
L6_1.y = 76.958
L6_1.z = -80.093
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 240.197
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.title_id = 155
L5_1.special_name_id = 10092
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 6008
L2_1.gadget_id = 70220070
L3_1 = {}
L3_1.x = 69.233
L3_1.y = 76.94
L3_1.z = -79.04
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 83.272
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 6009
L3_1.gadget_id = 70220071
L4_1 = {}
L4_1.x = 69.064
L4_1.y = 76.941
L4_1.z = -83.543
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 104.365
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 6010
L4_1.gadget_id = 70220070
L5_1 = {}
L5_1.x = 69.327
L5_1.y = 76.94
L5_1.z = -81.288
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 91.265
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 6011
L5_1.gadget_id = 70220070
L6_1 = {}
L6_1.x = 65.084
L6_1.y = 76.94
L6_1.z = -76.512
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 3.47
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 6012
L6_1.gadget_id = 70220070
L7_1 = {}
L7_1.x = 65.082
L7_1.y = 76.941
L7_1.z = -85.685
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 179.31
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 6013
L7_1.gadget_id = 70220071
L8_1 = {}
L8_1.x = 62.867
L8_1.y = 76.938
L8_1.z = -85.72
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 179.31
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 6014
L8_1.gadget_id = 70220071
L9_1 = {}
L9_1.x = 62.812
L9_1.y = 76.941
L9_1.z = -76.457
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 359.145
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 6015
L9_1.gadget_id = 70220071
L10_1 = {}
L10_1.x = 64.016
L10_1.y = 76.94
L10_1.z = -74.795
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 94.352
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 6016
L10_1.gadget_id = 70220070
L11_1 = {}
L11_1.x = 63.923
L11_1.y = 76.94
L11_1.z = -87.048
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 87.147
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 6017
L11_1.gadget_id = 70220070
L12_1 = {}
L12_1.x = 45.532
L12_1.y = 77.04
L12_1.z = -77.762
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 62.093
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 6018
L12_1.gadget_id = 70220071
L13_1 = {}
L13_1.x = 44.398
L13_1.y = 77.04
L13_1.z = -84.062
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 149.947
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 6019
L13_1.gadget_id = 70220070
L14_1 = {}
L14_1.x = 34.563
L14_1.y = 77.04
L14_1.z = -78.389
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 68.653
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 6020
L14_1.gadget_id = 70220070
L15_1 = {}
L15_1.x = 36.059
L15_1.y = 77.005
L15_1.z = -83.523
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 114.012
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 6023
L15_1.gadget_id = 70290136
L16_1 = {}
L16_1.x = 68.016
L16_1.y = 76.857
L16_1.z = -81.334
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 270.175
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L16_1 = {}
L16_1.config_id = 6025
L16_1.gadget_id = 70360001
L17_1 = {}
L17_1.x = 67.698
L17_1.y = 78.287
L17_1.z = -81.297
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 259.085
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1006007
L2_1.name = "QUEST_FINISH_6007"
L3_1 = EventType
L3_1 = L3_1.EVENT_QUEST_FINISH
L2_1.event = L3_1
L2_1.source = "7226612"
L2_1.condition = ""
L2_1.action = "action_EVENT_QUEST_FINISH_6007"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1006024
L3_1.name = "GADGET_CREATE_6024"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_6024"
L3_1.action = "action_EVENT_GADGET_CREATE_6024"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1006026
L4_1.name = "SELECT_OPTION_6026"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_6026"
L4_1.action = "action_EVENT_SELECT_OPTION_6026"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1006031
L5_1.name = "MONSTER_BATTLE_6031"
L6_1 = EventType
L6_1 = L6_1.EVENT_MONSTER_BATTLE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_MONSTER_BATTLE_6031"
L5_1.action = "action_EVENT_MONSTER_BATTLE_6031"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1006032
L6_1.name = "ANY_MONSTER_DIE_6032"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_6032"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_6032"
L6_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "quest"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 6027
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 2.0
L4_1.y = 2.0
L4_1.z = 10.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = 29.304
L4_1.y = 77.04
L4_1.z = -80.994
L3_1.pos = L4_1
L2_1[1] = L3_1
L1_1.regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1006003
L3_1.name = "GATHER_6003"
L4_1 = EventType
L4_1 = L4_1.EVENT_GATHER
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GATHER_6003"
L3_1.action = "action_EVENT_GATHER_6003"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1006006
L4_1.name = "GATHER_6006"
L5_1 = EventType
L5_1 = L5_1.EVENT_GATHER
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GATHER_6006"
L4_1.action = "action_EVENT_GATHER_6006"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1006027
L5_1.name = "ENTER_REGION_6027"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_6027"
L5_1.action = "action_EVENT_ENTER_REGION_6027"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.triggers = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 4
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 6001
L5_1 = 6029
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 6008
L5_1 = 6009
L6_1 = 6010
L7_1 = 6011
L8_1 = 6012
L9_1 = 6013
L10_1 = 6014
L11_1 = 6015
L12_1 = 6016
L13_1 = 6017
L14_1 = 6018
L15_1 = 6019
L16_1 = 6020
L17_1 = 6023
L18_1 = 6025
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "QUEST_FINISH_6007"
L5_1 = "GADGET_CREATE_6024"
L6_1 = "SELECT_OPTION_6026"
L7_1 = "MONSTER_BATTLE_6031"
L8_1 = "ANY_MONSTER_DIE_6032"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 6021
L6_1 = 6022
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_6032"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_6032"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 6008
L8_1 = 6009
L9_1 = 6010
L10_1 = 6011
L11_1 = 6012
L12_1 = 6013
L13_1 = 6014
L14_1 = 6015
L15_1 = 6016
L16_1 = 6017
L17_1 = 6018
L18_1 = 6019
L19_1 = 6020
L20_1 = 6023
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L6_1[8] = L14_1
L6_1[9] = L15_1
L6_1[10] = L16_1
L6_1[11] = L17_1
L6_1[12] = L18_1
L6_1[13] = L19_1
L6_1[14] = L20_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "QUEST_FINISH_6007"
L8_1 = "GADGET_CREATE_6024"
L9_1 = "SELECT_OPTION_6026"
L10_1 = "MONSTER_BATTLE_6031"
L11_1 = "ANY_MONSTER_DIE_6032"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "quest"
  L5_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_FINISH_6007 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 6025 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_6024 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = 240050006
  L5_2 = 6025
  L6_2 = {}
  L7_2 = 72
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_6024 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 6025 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 72 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SELECT_OPTION_6026 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.DelWorktopOptionByGroupId
  L3_2 = A0_2
  L4_2 = 240050006
  L5_2 = 6025
  L6_2 = 72
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 6023
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SELECT_OPTION_6026 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 6001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_MONSTER_BATTLE_6031 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 240050006
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ShowReminder
  L3_2 = A0_2
  L4_2 = 500660231
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_reminder_ui"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_MONSTER_BATTLE_6031 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_6032 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "fin_7226621"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_6032 = L1_1
